package controller

import (
	"github.com/gin-gonic/gin"
	"net/http"
	"vueAdmin/application/utils"
)

func NoRouter(c *gin.Context) {
	c.JSON(http.StatusOK, utils.SetPackageData(1002, nil))
	c.Abort()
	return
}

func NoMethod(c *gin.Context) {
	c.JSON(http.StatusOK, utils.SetPackageData(1003, nil))
	c.Abort()
	return
}
